<%@page import="com.mmy.domain.sys.TSysUser"%>
<%@page import="com.mmy.domain.bidtender.TBidInvite"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	TSysUser tSysUser = (TSysUser) session.getAttribute("tSysUser");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/include1.jsp"></jsp:include>
<script src="js/date.js"></script>

</head>
<body>
	<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/FrontHeader.jsp"></jsp:include>
		<div id="index-back">
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main Start -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<main class="at-padding-large-bottom"> 
		<article> 
		<header class="frontbg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
		<div class="page-header container">
			<div class="row">
				<div class="span-12 col">
					<h2>
						<label>${dbBidInvite.getInviteName()}的招标详情</label>
						</h2>
				</div>

			</div>
		</div>
		</header> <section class="container"> <!-- 招标基本信息 -->
		<div class="information">

			<h4 class="info-h4">
				<i class="fa fa-caret-right" aria-hidden="true"></i>招标信息
			</h4>
			<div class="input-container">
				<table class="info-table">
					<tr>
						
						<th><label>招标名称</label></th>

						<td colspan="2">

<label>${dbBidInvite.getInviteName()}</label>
						</td>
						<th><label>招标目的地</label></th>

						<td colspan="2">

<label>${strProvince }${strCity }${dbBidInvite.getZoneName()}</label>
						</td>
					</tr>
					<tr>

						<th><label>招标类型</label></th>
						<td colspan="2">
								<c:if test="${dbBidInvite.getType()==0}"><label>公务</label></c:if>
			                <c:if test="${dbBidInvite.getType()==1}"><label>团建</label></c:if>
			                <c:if test="${dbBidInvite.getType()==2}"><label>业内</label></c:if>
			                <c:if test="${dbBidInvite.getType()==3}"><label>私密游</label></c:if>
								</td>
						<th><label>出行日期及返程日期</label></th>
						<td colspan="2"><fmt:formatDate
								value='${dbBidInvite.getOutDate()}' pattern='yyyy-MM-dd' /> --
							<fmt:formatDate value='${dbBidInvite.getBackDate()}'
								pattern='yyyy-MM-dd' /></td>

					</tr>
					
					<tr>
						<th><label>招标简介</label></th>
						<td colspan="5"><label>${dbBidInvite.getSynopsis()}</label>
						</td>

					</tr>
					<tr>
						<th><label>招标内容</label></th>
						<td colspan="5"><label>${dbBidInvite.getContent()}</label>
						</td>
					</tr>
					<tr>
						<th><label>用餐要求</label></th>
						<td colspan="5"><label>${dbBidInvite.getMeal()}</label></td>
					</tr>
					<tr>
						<th><label>住宿要求</label></th>
						<td colspan="5"><label>${dbBidInvite.getStay()}</label></td>
					</tr>
					<tr>
						<th><label>用车要求</label></th>
						<td colspan="5"><label>${dbBidInvite.getCar()}</label></td>
					</tr>
					<tr>
						<th><label>行程要求</label></th>
						<td colspan="5"><label>${dbBidInvite.getTrip()}</label></td>
					</tr>
					<tr>
						<th><label>购物要求</label></th>
						<td colspan="5"><label>${dbBidInvite.getShop()}</label></td>
					</tr>
					<tr>
						<th><label>娱乐要求</label></th>
						<td colspan="5"><label>${dbBidInvite.getRecreation()}</label>
						</td>
					</tr>
					<tr>

						<th><label>预算要求</label></th>
						<td colspan="2"><label>${dbBidInvite.getBudget()}</label></td>
						<th><label>招标起止日期</label></th>
						<td colspan="2"><fmt:formatDate
								value='${dbBidInvite.getBeginDate()}' pattern='yyyy-MM-dd' />
							-- <fmt:formatDate value='${dbBidInvite.getEndDate()}'
								pattern='yyyy-MM-dd' /></td>

					</tr>
					<tr>

						<th><label>联系人</label></th>
						<td colspan="2"><label>${dbBidInvite.getName()}</label></td>
						<th><label>联系方式</label></th>
						<td colspan="2"><label>${dbBidInvite.getTel()}</label></td>

					</tr>
					<tr>
						<th><label>备注</label></th>
						<td colspan="5"><label>${dbBidInvite.getMemo()}</label></td>
					</tr>
				</table>
				<center>
					<input type="button" class="btn " value="投标"
						onclick="joinTender('${dbBidInvite.getInviteID()}','${dbBidInvite.getInviteName()}')" />
 <input type="button" class="btn"
						value="返回" onclick="rehidder()" />
				</center>
			</div>

		</div>
		</section> </article> </main>
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main End -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
</div>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
	</div>
	<!-- /st-container -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!-- Script Embed Start -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!-- Main Slider -->
	<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>
		<script>
			new GridScrollFx( document.getElementById( 'news-grid' ), {
				viewportFactor : 0.4
			} );
		</script>

</body>

</html>